package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.GameInfoGiftDTO;
import com.ayf.payment.game.api.entity.GameInfoGift;
import com.ayf.payment.game.api.entity.GameInfoGiftLog;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GameInfoGiftMapper extends Mapper<GameInfoGift> {

    List<GameInfoGiftLog> selectYesterdayInfo();

    void reset();

    void updateUsed(@Param("dto") GameInfoGiftDTO dto);

    List<GameInfoGift> getGameInfoGiftListByGameInfoId(String id);
}